#ifndef __VARSRV_CONFIG
#define __VARSRV_CONFIG

#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <Dialogs.hpp>

class TConfigForm : public TForm {
__published:    // IDE-managed Components
        TBitBtn *btnOK;
        TBitBtn *btnClose;
        TPageControl *pages;
        TTabSheet *TabSheet4;
        TTabSheet *TabSheet1;
        TLabel *Label8;
        TEdit *Edit7;
        TUpDown *btnBallMargin;
        TLabel *Label9;
        TLabel *Label11;
        TLabel *Label12;
        TLabel *Label14;
        TEdit *Edit8;
        TUpDown *btnPercentBalls;
        TEdit *Edit10;
        TUpDown *btnSpecPercent;
        TEdit *Edit13;
        TUpDown *btnNumAim;
        TEdit *Edit14;
        TUpDown *btnBallMoveTime;
        TLabel *Label5;
        TLabel *Label6;
        TEdit *Edit5;
        TUpDown *btnFieldWidth;
        TEdit *Edit9;
        TUpDown *btnFieldHeight;
        TCheckBox *chRareBalls;
        TCheckBox *chSound;
        TLabel *Label1;
        TLabel *Label2;
        TEdit *Edit1;
        TUpDown *btnDefRows;
        TCheckBox *chDoubleFire;
        TLabel *Label3;
        TEdit *Edit2;
        TUpDown *btnCoordsDiff;
        void __fastcall btnOKClick(TObject *Sender);
        void __fastcall FormShow(TObject *Sender);
  private:
  public:
    __fastcall TConfigForm(TComponent* Owner);

    void SetDriverInfo( void );
};
#endif
